import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'logic.dart';

class GetXDemoPage extends StatefulWidget {
  const GetXDemoPage({Key? key}) : super(key: key);

  @override
  State<GetXDemoPage> createState() => _GetXDemoPageState();
}

class _GetXDemoPageState extends State<GetXDemoPage> {
  final logic = Get.put(GetXDemoLogic());
  final state = Get.find<GetXDemoLogic>().state;

  @override
  Widget build(BuildContext context) {
    return Container();
  }

  @override
  void dispose() {
    Get.delete<GetXDemoLogic>();
    super.dispose();
  }
}